<security:authorize ifAnyGranted="ROLE_Bank_CREDIT,ROLE_Bank_USER">
<div class="box box-success box-solid">
  <div class="box-header">
    <h3 class="box-title"> <fmt:message key="attachmentDetail.heading"/></h3>
  </div><!-- /.box-header -->
  <div class="box-body" style="height: 200px;overflow-y:auto;">
      <display:table name="loanRequest.attachmentList"  class="table table-condensed table-striped table-hover" requestURI="" id="attachmentList" export="false" pagesize="25">
        <display:column property="id" sortable="true"  media="html"  style="width: 5%"
                        titleKey="attachment.id"/>
        <display:column property="id" media="csv excel xml pdf" titleKey="attachment.id"/>
        <display:column property="name" sortable="true" titleKey="attachment.name"/>
        <display:column property="fileName" sortable="true" titleKey="attachment.fileName"/>
        <display:column property="operator" sortable="true" titleKey="attachment.operator"/>
          <display:column titleKey="" sortable="false" style="width: 3%;">
          <a class="btn btn-xs" href="<c:out value="${ctx}"/>/attachments/<c:out value="${loanRequest.number}"/>/${attachmentList.name}/${attachmentList.id}" target="_blank" >
              <fmt:message key="button.view"/>
          </a>
          </display:column>
      </display:table>
  </div><!-- /.box -->
</div>
</security:authorize>
